FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER xx@gmail.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /sc-gateway

WORKDIR /sc-gateway

EXPOSE 9999

ADD ./sc-gateway/target/sc-gateway.jar ./

CMD sleep 30;java -Djava.security.egd=file:/dev/./urandom -jar sc-gateway.jar
